<?
include 'Module/ProductModule.php';
$prModule=new ProductModule();
?>
<li id="page_PRODUCT">
    <div class="slogan">Product</div>
    <div class="box">
        <div class="subbox">
            <h2>Danh Sách Sản Phẩm</h2>
            <div class="<?=$paras["product_height"]?>">
                <div>
                <?
                $prlist=$prModule->getProducts(1, 100, $q);
                $i=0;
                foreach ($prlist as $pr){
                    $i++;
                ?>
                    <div class="vid1 <?=(($i)%3==0)?" last":""?>">
                        <div class="video1">
                            <a href="<?=$pr["image"]?>" 
                                rel="prettyPhoto[product_<?=$pr["album"]?>]" title="Photos">
                                <img src="<?=$pr["image"]?>" class="border1 border2"/>
                                <span style="opacity: 0; "></span>
                            </a>
                        </div>
                        <strong class="color1">
                            <?=$pr["name"]?>
                        </strong>
                        

                    </div>
                <?
                }
                ?>
                    
                </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>
</li>